const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://139.155.93.250:9527',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': '' // 设置为 localhost: xxx/api/test => www.xxx.com/test
        }
      },
    }
  }
})

